app.service("categoryService",function($http){
	this.queryTopLevelCategory=function(){
		return $http.get("/category/toplevel");
	}
	this.logout=function () {
		return $http.get("/user/logout");
	}
});